﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: DeliverChargeEntity.cs
// 修改时间：2020-9-8 10:40:02
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：DeliverCharge 的实体类.
	/// </summary>
	[Table("DeliverCharge")]
	public partial class DeliverChargeEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// ID(主键)(自增长)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private int? _deliverTypeID = 0;
		/// <summary>
		/// 送货方式ID
		/// </summary>
		[Column("DeliverTypeID",TypeName="int")]
		public int? DeliverTypeID
		{
			get {return _deliverTypeID;}
			set {_deliverTypeID = value;}
		}
		
		private int? _areaType = 0;
		/// <summary>
		/// 1为同城，2为同一区域，3为同省，4为指定省份，5为国际
		/// </summary>
		[Column("AreaType",TypeName="int")]
		public int? AreaType
		{
			get {return _areaType;}
			set {_areaType = value;}
		}
		
		private System.String _arrArea = string.Empty;
		/// <summary>
		/// 指定的区域或省份
		/// </summary>
		[Column("arrArea",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ArrArea
		{
			get {return _arrArea;}
			set {_arrArea = value;}
		}
		
		private decimal? _charge_Min = 0;
		/// <summary>
		/// 基础运费
		/// </summary>
		[Column("Charge_Min",TypeName="money")]
		public decimal? Charge_Min
		{
			get {return _charge_Min;}
			set {_charge_Min = value;}
		}
		
		private double? _weight_Min = 0.0f;
		/// <summary>
		/// 基础运费的起算重量
		/// </summary>
		[Column("Weight_Min",TypeName="float")]
		public double? Weight_Min
		{
			get {return _weight_Min;}
			set {_weight_Min = value;}
		}
		
		private decimal? _chargePerUnit = 0;
		/// <summary>
		/// 单位运费
		/// </summary>
		[Column("ChargePerUnit",TypeName="money")]
		public decimal? ChargePerUnit
		{
			get {return _chargePerUnit;}
			set {_chargePerUnit = value;}
		}
		
		private double? _weightPerUnit = 0.0f;
		/// <summary>
		/// 单位重量
		/// </summary>
		[Column("WeightPerUnit",TypeName="float")]
		public double? WeightPerUnit
		{
			get {return _weightPerUnit;}
			set {_weightPerUnit = value;}
		}
		
		private decimal? _charge_Max = 0;
		/// <summary>
		/// 最高运费
		/// </summary>
		[Column("Charge_Max",TypeName="money")]
		public decimal? Charge_Max
		{
			get {return _charge_Max;}
			set {_charge_Max = value;}
		}
		
		#endregion
	}
}
